package com.dingquan.springbootdingquan.services;

import com.dingquan.springbootdingquan.pojo.Dto.UserDto;
import com.dingquan.springbootdingquan.pojo.User;


public interface IServices  {

    /*
    * 增加用户
    *
    * */
    User  add(UserDto user);

    /*
    * 修改用户信息
    * */
    User update(UserDto user);

    /*
    * 查询用户信息
    * */
    User select(Integer userId);

    /*
    * 删除用户
    * */
    void delete(Integer userId);
}
